package com.mihu.stmall.manager.entiy;


import lombok.*;

import java.math.BigDecimal;
import java.util.List;

@Data
@Getter
@Setter
@ToString
@NoArgsConstructor //无参构造
public class Goods {
    private Integer id;
    private String name;
    private String dscp;
    private BigDecimal price;
    private BigDecimal markPrice;
    private String color;
    private String version;
    private Integer count;
    private String content;
    private Integer recom;
    private Integer categoryId;
    private Integer status;

    //关联类别 一对一
    private Category category;
    //关联图片  一对多

    private List<GoodsPic> pics;

}
